package b4.widget.system
{
	import b4.widget.basic.BasicWidget;

	public class SystemFuncBar extends BasicWidget
	{
		//位置信息
		public var locationPane:LocationPane;
		//小地图信息
		public var smallMapIcon:SmallMapIcon;
		//系统图标
		public var systemIcon:SystemIcon;
		//邮件图标
		public var mailIcon:MailIcon;
		//排行图标
		public var rankingIcon:RankingIcon;
		//黄历图标
		public var almanacIcon:AlmanacIcon;
		
		public function SystemFuncBar()
		{
			super();
			//位置信息
			locationPane = new LocationPane();
			addChild(locationPane);
			//小地图信息
			smallMapIcon = new SmallMapIcon();
			smallMapIcon.x = 180;
			smallMapIcon.y = 0;
			addChild(smallMapIcon);
			//系统图标
			systemIcon = new SystemIcon();
			systemIcon.x = 20;
			systemIcon.y = 30;
			addChild(systemIcon);
			//邮件图标
			mailIcon = new MailIcon();
			mailIcon.x = 60;
			mailIcon.y = 30;
			addChild(mailIcon);
			//排行图标
			rankingIcon = new RankingIcon();
			rankingIcon.x = 100;
			rankingIcon.y = 30;
			addChild(rankingIcon);
			//黄历图标
			almanacIcon = new AlmanacIcon();
			almanacIcon.x = 140;
			almanacIcon.y = 30;
			addChild(almanacIcon);
			
			this.anchor = BasicWidget.ANCHOR_RIGHT_TOP;
			this.x = -270;
			this.y = 10;
		}
		
	}
}